//规范请求和响应接口的参数
export interface Dict {
    classCode: string;
    className: string;
    code:string;
    name:string;
    remark: string;
}
export interface PreferenceValue {
    dictPrefTableType: number;
    name:string;
    columnList: { code: string; value: any; }[];
}

export interface PreferenceDetail {
    columnValue: string;   
    columnName: string;
    isShow: number;     
    sort: number;
    expandValue?: string;
}
export interface Preference {
    name: string;
    code: string;
    forUserId: number;
    forPrefInfoId: number;
    isDefault: number;
    sort: number;
    expandValue: number;
    prefCombinationDetails: PreferenceDetail[];
}

export interface IndexForm {
    id: number | null;
    remark: string;
    dictIndexCategory: string;
    name: string;
    code: string;
    isEnabled: number;
    dictIndexConfigType: string;
    dictCalcMode: string;
    methodName: string;
    dictCalcPeriod: string;
    dictOutParamColumnType: string;
    outParamInfo: string;
    className: string;
    classCode: string;
    params: any[];
    logics: any[];
    factors: any[];
    formula: string;
    forDataSourceViewId: number|string;
    dataSourceViewName: string;
    isCustViewParam: number;
    dictViewStyle: string;
    viewParam: any[];
}
export interface IndexInsideInfo {
    dictCalcPeriod?: string; // 根据实际数据类型调整
    dictCalcMode?: string;   // 根据实际数据类型调整
    id: number;              // 假设已有 id 属性
    [key: string]: any;      // 允许扩展其他属性
    dictIndexConfigType?: string;
}
